﻿@model IEnumerable<LabManagement.Data.DataModel.LabCategoryModel>

<table>   

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.CheckBox("Lab.LabCategory.Active", item.Active)
            @Html.Hidden("Lab..LabCategory.CategoryId", item.CategoryId)
            @Html.CheckBoxFor(modelItem => item.Active)
            @Html.HiddenFor(modelItem => item.CategoryId)
        </td> 
        <td>
            @Html.DisplayFor(modelItem => item.CategoryName)
        </td>     
    </tr>
}
</table>
